//
//  ZYXHomeThreeCell.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/4.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXHomeThreeCell.h"

@implementation ZYXHomeThreeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(ZYXHomeComModel *)model{
    _model = model;
    ///图片地址
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(model.picUrl)] placeholderImage:IMG(@"imgLoading")];
    self.titleLabel.text = model.title;
    self.peopleLabel.text = [NSString stringWithFormat:@"%@人已阅读",model.people];
}
@end
